

import {AxiosResponse} from "axios"
//单独筛选框接口
export interface FilterInterface {
  filter?: {
    addBtn?:() => void
    exporBtn?:() => Promise<AxiosResponse<any, any>>
    item: {
      label?: string;
      type: string;
      placeholder?: string;
      options?: { label: string; value: string }[];
      name: string;
      defaultValue?: any;
    }[];
  } | null;
}

//表格接口定义
export interface TableInterface {
  table: {
    columns: any[];
    http: (data:any) => {}; //请求数据的方法
    deleteFn?:(data:any) => {};
    editFn?:(data:any) => void;
    otherFn?:any[]
  };
}

//CURD组件入参配置限制
export interface CurdBaseInterface extends FilterInterface, TableInterface {



}
